package cn.stylefeng.guns.modular.hp.service.imp;

import cn.stylefeng.guns.modular.hp.dao.ExpertInfoMapper;
import cn.stylefeng.guns.modular.hp.model.ExpertInfo;
import cn.stylefeng.guns.modular.hp.service.IExpertInfoService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 专家介绍表 服务实现类
 * </p>
 *
 * @author xzqiang
 * @date 2018-12-08
 */
@Service
public class ExpertInfoImpl extends ServiceImpl<ExpertInfoMapper, ExpertInfo> implements IExpertInfoService {

    @Override
    public List<Map<String, Object>> list(String condition) {
        return this.baseMapper.list(condition);
    }

    @Override
    public List<ExpertInfo> departmentExpertList(String departmentInfoId) {
        return this.baseMapper.departmentExpertList(departmentInfoId);
    }

    @Override
	public List<ExpertInfo> expertList() {
		return this.baseMapper.expertList();
	}

    @Override
    public ExpertInfo getExpertInfoByPageInfoId(String pageInfoId) {
        return this.baseMapper.getExpertInfoByPageInfoId(pageInfoId);
    }
}
